package pers.wk.config;


/**
 * 消息队列配置
 */
public class MQConfig {

    public static class QueueNames {
        public static final String SIMPLE_QUEUE_NAME = "SIMPLE_QUEUE_NAME";
        public static final String WORK_QUEUE_NAME = "WORK_QUEUE_NAME";

        public static final String EMAIL_QUEUE = "EMAIL_QUEUE";
        public static final String SMS_QUEUE = "SMS_QUEUE";
        public static final String WECHAT_QUEUE = "WECHAT_QUEUE";

        //死信队列
        public static final String DLX_QUEUE = "DLX_QUEUE";


        public static final String HEADERS_QUEUE = "HEADERS_QUEUE";

    }

    public static class ExchangeName {
        //扇形交换机
        public static final String FANOUT_EXCHANGE = "FANOUT_EXCHANGE";

        //路由
        public static final String DIRECT_EXCHANGE = "DIRECT_EXCHANGE";

        //主题模式
        public static final String TOPIC_EXCHANGE = "TOPIC_EXCHANGE";

        //DLX 死信交换机
        public static final String DLX_EXCHANGE = "DLX_EXCHANGE";

        /**
         * headers
         */
        public static final String HEADERS_EXCHANGE = "HEADERS_EXCHANGE";
    }

    public static class ExchangeType {
        /**
         * 扇形交换机
         */
        public static final String fanout = "fanout";
        public static final String direct = "direct";
        public static final String topic = "topic";

        public static final String headers = "headers";
    }

}
